


import requests
import pprint
def test_res_json():
    r=requests.get("https://httpbin.ceshiren.com/get")
    pprint.pprint(r.json())
    assert r.status_code == 200
    assert r.json()["url"] == "https://httpbin.ceshiren.com/get"
test_res_json()